package com.xinrui.sunnyday.service;

import com.xinrui.sunnyday.exception.SunnydayException;
import com.xinrui.sunnyday.pojo.Order;

import java.util.Map;

public interface OrderService {
    /**
     * 用户预约
     * @param orderInfo
     * @return
     */
    Order submit(Map<String, Object> orderInfo)throws SunnydayException;
    /**
     * 多表查询：查询订单信息
     * @param id
     * @return
     */
    Map<String,Object> findById(Integer id);
}
